package com.lidroid.xutils.db.table;

import java.lang.reflect.Field;

public class Id extends Column {

    public Id(Class entityType, Field field) {
        super(entityType, field);
    }

    public boolean isAutoIncreaseType() {
        Class idType = this.getColumnField().getType();
        return idType.equals(int.class) ||
                idType.equals(Integer.class) ||
                idType.equals(long.class) ||
                idType.equals(Long.class);
    }
}
